package com.kgc.sbt;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import javax.annotation.PostConstruct;

@SpringBootApplication
@EnableDubbo
@EnableScheduling
@EnableSwagger2
@EnableSwaggerBootstrapUI
public class CenterConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(CenterConsumerApplication.class, args);
    }

}
